import api from '@/api/index'
import { debtServer } from '@/utils/apiConfig'
// 分页查询信息
export const getTabList = <T>(data?: unknown) => {
  return api.get<T>(debtServer + '/dataCorrect', data)
}
// 数据纠偏
export const dataRedress = <T>(data?: unknown) => {
  return api.post<T>(debtServer + '/dataCorrect', data)
}
// 数据纠偏列表
export const getDataList = <T>(data?: unknown) => {
  return api.get<T>(debtServer + '/dataCorrect/dataCorrectMechanismList', data)
}
